﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;
using ViewModels.Shared;

namespace ViewModels.User
{
    public class NameModel : INameModel
    {
        [MaxLength(20, ErrorMessage = "* 用户名长度不超过20个字符")]
        public string LogonName { get; set; }

        [MaxLength(20, ErrorMessage = "* 昵称长度不超过20个字符")]
        public string NickName { get; set; }
    }
}
